import Mock from 'mockjs';

Mock.mock('/login', 'post', {
  code: 200,
  message: 'success',
  data: '2342342-2343200330-23432d32-23',
  success: true,
});

Mock.mock('/api/users/userinfo', 'get', {
  code: 200,
  message: 'success',
  data: {
    name: 'John Doe',
    age: 30,
  },
  success: true,
});
